-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SV_AllowPhysent hook #951
Conversation
@s1lentq time to push a rehlds release? |
s1lentq was in his usual process of hibernation but a strike from Ukraine near his city woke him up! PS: He should also merge all the +1 year pending hooks in ReGameDLL_CS & cie! Almost seems like only the hooks related to functions the approvers "got a personal interest" are merged! I am wondering why some (like API stuff) are so long to be merged, there are modified files section, a control (approvers know that files should be modified for a new hook addition as example), all O.K., a check on "Actions" if this compile fine, all O.K., at the best, use a testing Metamod module with the new hook, and, with debug print/log inside the new hook (tested with the compiled bin from "Actions"), then if works, direct merge... |
edit: it's called, working well. Ignore this comment @justgo97 |
What are you trying to achieve? This hook is mostly used for collision between players, for player - entity stuff you can use |
Well, the entity is SOLID_TRIGGER. That's why RH_SV_AllowPhysent not called. I'm trying to be the entity fully semiclip with other players. See on: https://imgur.com/iDzh5ar When you are closer to the player, more reflection. |
Hooking
|
After a few days testing. The problem was using get_user_origin with mode 3 to get the end of the trace. Solved by using Traceline with IGNORE_MONSTERS parameter. |
Can be used to create a custom semiclip without needing a module
Ex: